package org.linlinjava.litemall.db.models;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * 用户搜索历史
 */
@Getter
@Setter
@ToString
@EqualsAndHashCode(callSuper = false)
@TableName("t_search_history")
public class SearchHistory extends BaseModel {

    @TableField("user_id")
    private Integer userId;

    //关键字
    @TableField("keyword")
    private String keyword;

    @TableField("`from`")
    private String from;

}